﻿<h3>
    <a href="{:U(GROUP_NAME.'/User/index')}" class="actionBtn">返回列表</a>
 	基本资料
</h3>
    <link rel="stylesheet" href="__PUBLIC__/admin/css/msgbox.css" />

    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
        <tr>
            <td width="100" align="right">手机号/用户名</td>
            <td>
                <span class="phone">{$baseinfo.user}</span>
            </td>
        </tr>

    



        <tr>
            <td width="100" align="right">姓名/身份证号</td>
            <td>
                <span>{$baseinfo.name} | {$baseinfo.usercard}</span>
            </td>
        </tr>

        <tr>
            <td width="100" align="right">推荐人</td>
            <td>
                <span>{$baseinfo.tj_name}</span>
            </td>
        </tr>
        <tr>
            <td width="100" align="right">推荐人号码</td>
            <td>
                <span>{$baseinfo.tj_mobile}</span>
            </td>
        </tr>


<!--新增-->
        <tr>
            <td width="100" align="right">社会信用代码</td>
            <td>
                <span>{$baseinfo.xingyong}</span>
            </td>
        </tr>
 <!--新增-->

        <tr>
            <td width="100" align="right">身份证拍照</td>
            <td>
            	<span>
            		身份证正面:<a href="{$baseinfo.cardphoto_1}" target="_blank">点击查看</a>
            	</span>
            	<br />
            	<span>
            		身份证反面:<a href="{$baseinfo.cardphoto_2}" target="_blank">点击查看</a>
            	</span>
            	<br />
            	<span>
            		通行证正面照:<a href="{$baseinfo.cardphoto_3}" target="_blank">点击查看</a>
            	</span>
                <br />
            	<span>
            		通行证反面照:<a href="{$baseinfo.cardphoto_4}" target="_blank">点击查看</a>
            	</span>
            </td>
        </tr>
      


<!--新增-->
        <tr>
            <td width="100" align="right">营业执照正面照</td>
            <td>
                <span>
                    营业执照正面照:<a href="{$baseinfo.cardphoto_5}" target="_blank">点击查看</a>
                </span>
            </td>
        </tr>
<!--新增-->



        <tr>
            <td width="100" align="right">个人资料</td>
            <td>            	
            	<span>
            		单位名称: {$baseinfo.dwname}
            	</span>
            	<br />
                	<span>
            		职位: {$baseinfo.position}
            	</span>
            	<br />
            	<span>
            		单位电话: {$baseinfo.dwphone} 
            	</span>
            	<br />
            	<span>
            		工作年龄: {$baseinfo.workyears}
            	</span>
            	<br />
            	<span>
            		单位地址: {$baseinfo.dwaddess_ssq}
            	</span>
            	<br />
                	<span>
            		详细地址: {$baseinfo.dwaddess_more}
            	</span>
            	<br />
            	<span>
            		月收入: {$baseinfo.dwysr} 
            	</span>
            	<br />            	
            	<span>
            		现居住地址: {$baseinfo.addess_ssq}
            	</span>
            	<br />
            	<span>
            		详细地址: {$baseinfo.addess_more}
            	</span>
            	<br />
                <span>
            		直系亲属联系人--姓名: {$baseinfo.personname_1}，手机号: {$baseinfo.personphone_1}，关系: {$baseinfo.persongx_1}
            	</span>            	
            	<br />
            	<span>
            		其他联系人--姓名: {$baseinfo.personname_2}，手机号: {$baseinfo.personphone_2}，关系: {$baseinfo.persongx_2}
            	</span>
            	
            </td>
        </tr>
        <tr>
            <td width="100" align="right">银行卡信息</td>
            <td>
            	<span>
            		银行名称: {$baseinfo.bankname}
            	</span>
            	<br />
            	<span>
            		银行卡号: {$baseinfo.bankcard}
            	</span>
            </td>
        </tr>
    </table>
   

   <!--  <h3 style="position:relative;">淘宝账户信息</h3>
    
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
        <tr>
            <foreach name="otherinfo" item="vo">
                <p>
                    {$vo} | 
                    <a href="{$vo}" target="_blank">点击查看</a>
                </p>
            </foreach>
        </tr>
    </table> -->


    <!-- <h3 style="">芝麻信用分数</h3>
    
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
        <tr>
            <td width="100" align="right">芝麻信用分数</td>
            <td>
                <span>
                    {$score}
                </span>
            </td>
        </tr>
    </table> -->

<!--
     <h3>上传收据和承诺书</h3>
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
        <tr>
            <foreach name="otherinfo" item="vo">
                <p>
                    {$vo} | 
                    <a href="{$vo}" target="_blank">点击查看</a>
                </p>
            </foreach>
        </tr>
    </table>
-->


    <h3>商业材料</h3>
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
        <tr>
            <foreach name="shanginfo" item="vo">
                <p>
                    {$vo} | 
                    <a href="{$vo}" target="_blank">点击查看</a>
                </p>
            </foreach>
        </tr>
    </table>



    <h3>企业材料</h3>
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
        <tr>
            <foreach name="qiyeinfo" item="vo">
                <p>
                    {$vo} | 
                    <a href="{$vo}" target="_blank">点击查看</a>
                </p>
            </foreach>
        </tr>
    </table>






    <h3 style="position:relative;">通话详单
        <a href="javascript:;" class="getMobileInfo" style="position:absolute;right:0;text-decoration:none;top:17px;font-size:16px" >获取通话详单</a>
    </h3>
    
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic" id="mobileInfo">
        <foreach name="updata" item="upv">
           <tr class="trphone">
            <td width="100" align="right">{$upv.phone_num}</td>
            <td><span>通话地址：{$upv.phone_address}</span> <br /><span>通话时间：{$upv.phone_time}</span><br /><span>通话时长：{$upv.phone_calltime}</span> <br /><span>通话方式：{$upv.phone_type}</span></td>

            </tr>
        </foreach>
        
    </table> 
    <div style="top:400px;display:none" id="q_Msgbox" class="zeng_msgbox_layer_wrap"><span id="mode_tips_v2" style="z-index:10000" class="zeng_msgbox_layer"><span class="gtl_ico_clear"></span><span class="gtl_ico_loading"></span>正在加载中，请稍后...<span class="gtl_end"></span></span></div>

    <div class="zeng_msgbox_layer_wrap" id="q_Msgbox" style=" display:block"></div>


    <script type="text/javascript" src="__PUBLIC__/admin/js/msgbox.js"></script>
    <script src="__PUBLIC__/home/js/jquery.js"></script>

    <script>
        var arr;

        $('.getMobileInfo').click(function(){
            ZENG.msgbox.show("正在加载中，请稍后...", 6,999999);
            $.post('{:U("User/getMobileInfo")}',{phone:$('.phone').html(),pass:$('.pass').html()},function(data){
             
                

                // console.log(data);
                // console.log(typeof(data));

                if(data.errcode == 0){
                    ZENG.msgbox._hide();
                    alert(data.errmsg);

                }else{
                    ZENG.msgbox._hide();
                    if($('tr[class="trphone"]').length > 0){
                        $('tr[class="trphone"]').remove();
                    }

                    if($('#mobileInfo').children().length > 0){
                        $('#mobileInfo').empty();
                    }
                    arr = data.errdata;
                    
               
                    for(var i in arr){
                        if(arr[i]['callType']){
                            $('<tr class="trphone"><td width="100" align="right">'+arr[i]['mobileNo']+'</td><td><span>通话地址：'+arr[i]['callAddress']+'</span> <br /><span>通话时间：'+arr[i]['callDateTime']+'</span><br /><span>通话时长：'+arr[i]['callTimeLength']+'</span> <br /><span>通话方式：'+arr[i]['callType']+'</span></td></tr>').appendTo('#mobileInfo');
                        }
                    }
                }
            },'json');
            
            
        });

    </script>